{extend name='base'}
{block name='nav2'}
    <a><cite>产业布局</cite></a>
{/block}
{block name='nav3'}
    <a><cite>产品分类管理</cite></a>
{/block}
{block name='con1'}
    <div class="x-body">
        <xblock>
            <a href="{:url('classify_add')}">
                <cite class="layui-btn">
                    <i class="layui-icon">&#xe608;</i>添加
                </cite>
            </a>
        </xblock>
        <table class="layui-table">
            <thead>
                <tr>
                    <th>序号</th>
                    <th>产品类别</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="x-img">
            {volist name='arr' id='list' key='i'}
                <tr>
                <form action="{:url('classify_edit')}" method='post'>
                    <td>
                        {$i}
                    </td>
                    <td>
                        <input type="text" name='typeclass' value="{$list.typeclass}" style="border:0">
                        <input type="hidden" name='id' value="{$list.id}">
                    </td>
                    <td class="td-manage">
                        <input type="submit" class="layui-icon" value="&#xe642;" style='border:0;background:none'>
                        <a title="删除" onclick="return del();" href="{:url('classify_del',['id'=>$list.id])}">
                            <i class="layui-icon">&#xe640;</i>
                        </a>
                    </td>
                </form>
                </tr>
            {/volist}
            </tbody>
        </table>
        {$arr}
        <div id="page"></div>
    </div>
{/block}